package com.ticket.sass.common.ticketserver.platform.cx30.response

import com.google.gson.annotations.SerializedName

data class QueryTicketInfo(
    @SerializedName("QueryTicketInfoResult")
    val queryTicketInfoResult: QueryTicketInfoResult
) {
    data class QueryTicketInfoResult(
        @SerializedName("ResultCode")
        override val resultCode: Int,
        @SerializedName("Message")
        override val message: String,
        @SerializedName("Tickets")
        val tickets: Tickets?
    ) : BaseResult

    data class Tickets(
        @SerializedName("Ticket")
        val ticket: Any
    ) {
        data class Ticket(
            @SerializedName("CinemaName")
            val cinemaName: String,
            @SerializedName("CinemaCode")
            val cinemaCode: String,
            @SerializedName("StartTime")
            val startTime: String,
            @SerializedName("Service")
            val service: String,
            @SerializedName("PrintFlag")
            val printFlag: Int,
            @SerializedName("SeatCode")
            val seatCode: String,
            @SerializedName("TicketCode")
            val ticketCode: String,
            @SerializedName("TicketInfoCode")
            val ticketInfoCode: String,
            @SerializedName("ScreenCode")
            val screenCode: String,
            @SerializedName("SeatName")
            val seatName: String,
            @SerializedName("Price")
            val price: String,
            @SerializedName("PrintNo")
            val printNo: String,
            @SerializedName("ScreenName")
            val screenName: String,
            @SerializedName("FeatureAppNo")
            val featureAppNo: String,
            @SerializedName("FilmCode")
            val filmCode: String,
            @SerializedName("FilmName")
            val filmName: String,
        )
    }
}
